const remote = require('electron').remote
const Menu = remote.Menu
export function createContentMenu(e: Event, template: any): void {
  const menu = Menu.buildFromTemplate(template)
  e.preventDefault()
  menu.popup()
}
